import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// 导入rem基准库
import 'amfe-flexible'
// 导入组件库
import Vant, { Lazyload } from 'vant'
// import 'vant/lib/index.css'
import 'vant/lib/index.less'
// 全局样式
import './styles/index.less'
import { MyAxiosPlug } from './utils/request'
import Plugins from './utils/plugin'

Vue.use(Vant)
Vue.use(Lazyload)

// 引入请求插件
Vue.use(MyAxiosPlug)
Vue.use(Plugins)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
